package com.zzyl.mapper;

import com.zzyl.entity.NursingProjectPlan;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectPlanMapper {

    List<NursingProjectPlan> getByPlanId(Long id);

    void addList(List<NursingProjectPlan> projectPlans);
    @Delete("delete from nursing_project_plan where plan_id = #{id}")
    void deleteByPlanId(Long id);
}
